vhdl-mode.el: Reduce use of `eval`
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 27 Feb 2024 13:24:45 +0000 (08:24 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 27 Feb 2024 13:24:45 +0000 (08:24 -0500)
commit6a77355527b2f7f1dca9c2296c2684033c9aa875
tree03cdf34a12bdb58f9318d9b72029fafff0fa1538
parentb59d7094b6cb1a09f46f933807e9cd00a8bd1547
vhdl-mode.el: Reduce use of `eval`

* lisp/progmodes/vhdl-mode.el (vhdl--re2-region): New function.
(vhdl--signal-regions-functions): New constant, extracted from
`vhdl-update-sensitivity-list`.
(vhdl-update-sensitivity-list): Use it.
lisp/progmodes/vhdl-mode.el